.class public final LPkUwx/KhEpY;
.super Ljava/lang/Object;

# interfaces
.implements Ljava/io/Closeable;
.implements Ljava/io/Flushable;


# static fields
.field private static final GckJE:I = 0x2

.field private static final HJWzj:I = 0x0

.field private static final QXRGQ:I = 0x31191

.field private static final xIEHe:I = 0x1


# instance fields
.field private OnYhp:I

.field private ROyrs:I

.field private aattQ:I

.field private fpSfq:I

.field final ptqFi:LPkUwx/Axwse/MCuFV/EfWRe;

.field private qzqMW:I

.field private final wouPV:LPkUwx/Axwse/MCuFV/OkDqd;


# direct methods
.method public constructor <init>(Ljava/io/File;J)V
    .locals 2

    sget-object v0, LPkUwx/Axwse/UfSim/GGrVD;->hhwmR:LPkUwx/Axwse/UfSim/GGrVD;

    invoke-direct {p0, p1, p2, p3, v0}, LPkUwx/KhEpY;-><init>(Ljava/io/File;JLPkUwx/Axwse/UfSim/GGrVD;)V

    return-void
.end method

.method constructor <init>(Ljava/io/File;JLPkUwx/Axwse/UfSim/GGrVD;)V
    .locals 6

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    new-instance v0, LPkUwx/iTvSK;

    invoke-direct {v0, p0}, LPkUwx/iTvSK;-><init>(LPkUwx/KhEpY;)V

    iput-object v0, p0, LPkUwx/KhEpY;->ptqFi:LPkUwx/Axwse/MCuFV/EfWRe;

    const v2, 0x31191

    const/4 v3, 0x2

    move-object v0, p4

    move-object v1, p1

    move-wide v4, p2

    invoke-static/range {v0 .. v5}, LPkUwx/Axwse/MCuFV/OkDqd;->zBSmm(LPkUwx/Axwse/UfSim/GGrVD;Ljava/io/File;IIJ)LPkUwx/Axwse/MCuFV/OkDqd;

    move-result-object v0

    iput-object v0, p0, LPkUwx/KhEpY;->wouPV:LPkUwx/Axwse/MCuFV/OkDqd;

    return-void
.end method

.method static synthetic APShw(LPkUwx/KhEpY;LPkUwx/kHRtU;LPkUwx/kHRtU;)V
    .locals 0

    invoke-direct {p0, p1, p2}, LPkUwx/KhEpY;->BsZiQ(LPkUwx/kHRtU;LPkUwx/kHRtU;)V

    return-void
.end method

.method private BsZiQ(LPkUwx/kHRtU;LPkUwx/kHRtU;)V
    .locals 3

    new-instance v1, LPkUwx/cRumM;

    invoke-direct {v1, p2}, LPkUwx/cRumM;-><init>(LPkUwx/kHRtU;)V

    invoke-virtual {p1}, LPkUwx/kHRtU;->uOBdj()LPkUwx/wkoHv;

    move-result-object v0

    check-cast v0, LPkUwx/JHaPl;

    invoke-static {v0}, LPkUwx/JHaPl;->iaBMv(LPkUwx/JHaPl;)LPkUwx/Axwse/MCuFV/XysqI;

    move-result-object v2

    const/4 v0, 0x0

    :try_start_0
    invoke-virtual {v2}, LPkUwx/Axwse/MCuFV/XysqI;->agmez()LPkUwx/Axwse/MCuFV/foYSE;

    move-result-object v0

    if-eqz v0, :cond_0

    invoke-virtual {v1, v0}, LPkUwx/cRumM;->cKyEb(LPkUwx/Axwse/MCuFV/foYSE;)V

    invoke-virtual {v0}, LPkUwx/Axwse/MCuFV/foYSE;->SVUEy()V
    :try_end_0
    .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0

    :cond_0
    :goto_0
    return-void

    :catch_0
    move-exception v1

    invoke-direct {p0, v0}, LPkUwx/KhEpY;->nsWms(LPkUwx/Axwse/MCuFV/foYSE;)V

    goto :goto_0
.end method

.method static synthetic EwKgL(LwFZra/OeMtE;)I
    .locals 1

    invoke-static {p0}, LPkUwx/KhEpY;->reIMs(LwFZra/OeMtE;)I

    move-result v0

    return v0
.end method

.method static synthetic FGmeW(LPkUwx/KhEpY;)V
    .locals 0

    invoke-direct {p0}, LPkUwx/KhEpY;->yUavG()V

    return-void
.end method

.method static synthetic MsLyY(LPkUwx/KhEpY;)I
    .locals 2

    iget v0, p0, LPkUwx/KhEpY;->qzqMW:I

    add-int/lit8 v1, v0, 0x1

    iput v1, p0, LPkUwx/KhEpY;->qzqMW:I

    return v0
.end method

.method static synthetic QquiC(LPkUwx/KhEpY;LPkUwx/kHRtU;)LPkUwx/Axwse/MCuFV/WTFSf;
    .locals 1

    invoke-direct {p0, p1}, LPkUwx/KhEpY;->WIduC(LPkUwx/kHRtU;)LPkUwx/Axwse/MCuFV/WTFSf;

    move-result-object v0

    return-object v0
.end method

.method private static RWAoD(LPkUwx/tQIEa;)Ljava/lang/String;
    .locals 1

    invoke-virtual {p0}, LPkUwx/tQIEa;->EBgsH()LPkUwx/WhAas;

    move-result-object v0

    invoke-virtual {v0}, LPkUwx/WhAas;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, LPkUwx/Axwse/NmOez;->DoFci(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method private WIduC(LPkUwx/kHRtU;)LPkUwx/Axwse/MCuFV/WTFSf;
    .locals 4

    const/4 v0, 0x0

    invoke-virtual {p1}, LPkUwx/kHRtU;->UhwFd()LPkUwx/tQIEa;

    move-result-object v1

    invoke-virtual {v1}, LPkUwx/tQIEa;->fsbPw()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {p1}, LPkUwx/kHRtU;->UhwFd()LPkUwx/tQIEa;

    move-result-object v2

    invoke-virtual {v2}, LPkUwx/tQIEa;->fsbPw()Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, LPkUwx/Axwse/EwidO/erNhg;->aqyNk(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_1

    :try_start_0
    invoke-virtual {p1}, LPkUwx/kHRtU;->UhwFd()LPkUwx/tQIEa;

    move-result-object v1

    invoke-direct {p0, v1}, LPkUwx/KhEpY;->eGmEV(LPkUwx/tQIEa;)V
    :try_end_0
    .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_2

    :cond_0
    :goto_0
    return-object v0

    :cond_1
    const-string v2, "GET"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_0

    invoke-static {p1}, LPkUwx/Axwse/EwidO/bjmyg;->SJsJq(LPkUwx/kHRtU;)Z

    move-result v1

    if-nez v1, :cond_0

    new-instance v1, LPkUwx/cRumM;

    invoke-direct {v1, p1}, LPkUwx/cRumM;-><init>(LPkUwx/kHRtU;)V

    :try_start_1
    iget-object v2, p0, LPkUwx/KhEpY;->wouPV:LPkUwx/Axwse/MCuFV/OkDqd;

    invoke-virtual {p1}, LPkUwx/kHRtU;->UhwFd()LPkUwx/tQIEa;

    move-result-object v3

    invoke-static {v3}, LPkUwx/KhEpY;->RWAoD(LPkUwx/tQIEa;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, LPkUwx/Axwse/MCuFV/OkDqd;->OCeZC(Ljava/lang/String;)LPkUwx/Axwse/MCuFV/foYSE;
    :try_end_1
    .catch Ljava/io/IOException; {:try_start_1 .. :try_end_1} :catch_0

    move-result-object v2

    if-eqz v2, :cond_0

    :try_start_2
    invoke-virtual {v1, v2}, LPkUwx/cRumM;->cKyEb(LPkUwx/Axwse/MCuFV/foYSE;)V

    new-instance v1, LPkUwx/KkmJi;

    invoke-direct {v1, p0, v2}, LPkUwx/KkmJi;-><init>(LPkUwx/KhEpY;LPkUwx/Axwse/MCuFV/foYSE;)V
    :try_end_2
    .catch Ljava/io/IOException; {:try_start_2 .. :try_end_2} :catch_1

    move-object v0, v1

    goto :goto_0

    :catch_0
    move-exception v1

    move-object v1, v0

    :goto_1
    invoke-direct {p0, v1}, LPkUwx/KhEpY;->nsWms(LPkUwx/Axwse/MCuFV/foYSE;)V

    goto :goto_0

    :catch_1
    move-exception v1

    move-object v1, v2

    goto :goto_1

    :catch_2
    move-exception v1

    goto :goto_0
.end method

.method static synthetic adtWM(LPkUwx/KhEpY;)LPkUwx/Axwse/MCuFV/OkDqd;
    .locals 1

    iget-object v0, p0, LPkUwx/KhEpY;->wouPV:LPkUwx/Axwse/MCuFV/OkDqd;

    return-object v0
.end method

.method private eGmEV(LPkUwx/tQIEa;)V
    .locals 2

    iget-object v0, p0, LPkUwx/KhEpY;->wouPV:LPkUwx/Axwse/MCuFV/OkDqd;

    invoke-static {p1}, LPkUwx/KhEpY;->RWAoD(LPkUwx/tQIEa;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, LPkUwx/Axwse/MCuFV/OkDqd;->FHGXn(Ljava/lang/String;)Z

    return-void
.end method

.method static synthetic ftqsS(LPkUwx/KhEpY;LPkUwx/tQIEa;)V
    .locals 0

    invoke-direct {p0, p1}, LPkUwx/KhEpY;->eGmEV(LPkUwx/tQIEa;)V

    return-void
.end method

.method static synthetic knsQl(LPkUwx/KhEpY;LPkUwx/Axwse/MCuFV/aXFyS;)V
    .locals 0

    invoke-direct {p0, p1}, LPkUwx/KhEpY;->lFrkm(LPkUwx/Axwse/MCuFV/aXFyS;)V

    return-void
.end method

.method private declared-synchronized lFrkm(LPkUwx/Axwse/MCuFV/aXFyS;)V
    .locals 1

    monitor-enter p0

    :try_start_0
    iget v0, p0, LPkUwx/KhEpY;->aattQ:I

    add-int/lit8 v0, v0, 0x1

    iput v0, p0, LPkUwx/KhEpY;->aattQ:I

    iget-object v0, p1, LPkUwx/Axwse/MCuFV/aXFyS;->tSrQS:LPkUwx/tQIEa;

    if-eqz v0, :cond_1

    iget v0, p0, LPkUwx/KhEpY;->ROyrs:I

    add-int/lit8 v0, v0, 0x1

    iput v0, p0, LPkUwx/KhEpY;->ROyrs:I
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    :cond_0
    :goto_0
    monitor-exit p0

    return-void

    :cond_1
    :try_start_1
    iget-object v0, p1, LPkUwx/Axwse/MCuFV/aXFyS;->fjgNQ:LPkUwx/kHRtU;

    if-eqz v0, :cond_0

    iget v0, p0, LPkUwx/KhEpY;->fpSfq:I

    add-int/lit8 v0, v0, 0x1

    iput v0, p0, LPkUwx/KhEpY;->fpSfq:I
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    goto :goto_0

    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method static synthetic mPuAQ(LPkUwx/KhEpY;)I
    .locals 2

    iget v0, p0, LPkUwx/KhEpY;->OnYhp:I

    add-int/lit8 v1, v0, 0x1

    iput v1, p0, LPkUwx/KhEpY;->OnYhp:I

    return v0
.end method

.method private nsWms(LPkUwx/Axwse/MCuFV/foYSE;)V
    .locals 1

    if-eqz p1, :cond_0

    :try_start_0
    invoke-virtual {p1}, LPkUwx/Axwse/MCuFV/foYSE;->OmqxK()V
    :try_end_0
    .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0

    :cond_0
    :goto_0
    return-void

    :catch_0
    move-exception v0

    goto :goto_0
.end method

.method private static reIMs(LwFZra/OeMtE;)I
    .locals 6

    :try_start_0
    invoke-interface {p0}, LwFZra/OeMtE;->xvfpj()J

    move-result-wide v0

    invoke-interface {p0}, LwFZra/OeMtE;->GLfDF()Ljava/lang/String;

    move-result-object v2

    const-wide/16 v4, 0x0

    cmp-long v3, v0, v4

    if-ltz v3, :cond_0

    const-wide/32 v4, 0x7fffffff

    cmp-long v3, v0, v4

    if-gtz v3, :cond_0

    invoke-virtual {v2}, Ljava/lang/String;->isEmpty()Z

    move-result v3

    if-nez v3, :cond_1

    :cond_0
    new-instance v3, Ljava/io/IOException;

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    const-string v5, "expected an int but was \""

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4, v0, v1}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, "\""

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-direct {v3, v0}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V

    throw v3
    :try_end_0
    .catch Ljava/lang/NumberFormatException; {:try_start_0 .. :try_end_0} :catch_0

    :catch_0
    move-exception v0

    new-instance v1, Ljava/io/IOException;

    invoke-virtual {v0}, Ljava/lang/NumberFormatException;->getMessage()Ljava/lang/String;

    move-result-object v0

    invoke-direct {v1, v0}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V

    throw v1

    :cond_1
    long-to-int v0, v0

    return v0
.end method

.method private declared-synchronized yUavG()V
    .locals 1

    monitor-enter p0

    :try_start_0
    iget v0, p0, LPkUwx/KhEpY;->fpSfq:I

    add-int/lit8 v0, v0, 0x1

    iput v0, p0, LPkUwx/KhEpY;->fpSfq:I
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    monitor-exit p0

    return-void

    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0
.end method


# virtual methods
.method public BPoZK()Ljava/util/Iterator;
    .locals 1

    new-instance v0, LPkUwx/QmSBY;

    invoke-direct {v0, p0}, LPkUwx/QmSBY;-><init>(LPkUwx/KhEpY;)V

    return-object v0
.end method

.method public declared-synchronized CdjST()I
    .locals 1

    monitor-enter p0

    :try_start_0
    iget v0, p0, LPkUwx/KhEpY;->aattQ:I
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    monitor-exit p0

    return v0

    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method public JxIDa()J
    .locals 2

    iget-object v0, p0, LPkUwx/KhEpY;->wouPV:LPkUwx/Axwse/MCuFV/OkDqd;

    invoke-virtual {v0}, LPkUwx/Axwse/MCuFV/OkDqd;->NKzOd()J

    move-result-wide v0

    return-wide v0
.end method

.method public declared-synchronized MGRVS()I
    .locals 1

    monitor-enter p0

    :try_start_0
    iget v0, p0, LPkUwx/KhEpY;->OnYhp:I
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    monitor-exit p0

    return v0

    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method public MOyVr()J
    .locals 2

    iget-object v0, p0, LPkUwx/KhEpY;->wouPV:LPkUwx/Axwse/MCuFV/OkDqd;

    invoke-virtual {v0}, LPkUwx/Axwse/MCuFV/OkDqd;->PVYBn()J

    move-result-wide v0

    return-wide v0
.end method

.method public OkPEj()V
    .locals 1

    iget-object v0, p0, LPkUwx/KhEpY;->wouPV:LPkUwx/Axwse/MCuFV/OkDqd;

    invoke-virtual {v0}, LPkUwx/Axwse/MCuFV/OkDqd;->Xysys()V

    return-void
.end method

.method public SbiQN()V
    .locals 1

    iget-object v0, p0, LPkUwx/KhEpY;->wouPV:LPkUwx/Axwse/MCuFV/OkDqd;

    invoke-virtual {v0}, LPkUwx/Axwse/MCuFV/OkDqd;->gnJbQ()V

    return-void
.end method

.method public Znsxh()Ljava/io/File;
    .locals 1

    iget-object v0, p0, LPkUwx/KhEpY;->wouPV:LPkUwx/Axwse/MCuFV/OkDqd;

    invoke-virtual {v0}, LPkUwx/Axwse/MCuFV/OkDqd;->jWuCs()Ljava/io/File;

    move-result-object v0

    return-object v0
.end method

.method public declared-synchronized cObGm()I
    .locals 1

    monitor-enter p0

    :try_start_0
    iget v0, p0, LPkUwx/KhEpY;->ROyrs:I
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    monitor-exit p0

    return v0

    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method public close()V
    .locals 1

    iget-object v0, p0, LPkUwx/KhEpY;->wouPV:LPkUwx/Axwse/MCuFV/OkDqd;

    invoke-virtual {v0}, LPkUwx/Axwse/MCuFV/OkDqd;->close()V

    return-void
.end method

.method public dBkgR()Z
    .locals 1

    iget-object v0, p0, LPkUwx/KhEpY;->wouPV:LPkUwx/Axwse/MCuFV/OkDqd;

    invoke-virtual {v0}, LPkUwx/Axwse/MCuFV/OkDqd;->ZBUQe()Z

    move-result v0

    return v0
.end method

.method public declared-synchronized dhIGH()I
    .locals 1

    monitor-enter p0

    :try_start_0
    iget v0, p0, LPkUwx/KhEpY;->qzqMW:I
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    monitor-exit p0

    return v0

    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method public flush()V
    .locals 1

    iget-object v0, p0, LPkUwx/KhEpY;->wouPV:LPkUwx/Axwse/MCuFV/OkDqd;

    invoke-virtual {v0}, LPkUwx/Axwse/MCuFV/OkDqd;->flush()V

    return-void
.end method

.method public declared-synchronized xzLXd()I
    .locals 1

    monitor-enter p0

    :try_start_0
    iget v0, p0, LPkUwx/KhEpY;->fpSfq:I
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    monitor-exit p0

    return v0

    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method yAjPJ(LPkUwx/tQIEa;)LPkUwx/kHRtU;
    .locals 4

    const/4 v0, 0x0

    invoke-static {p1}, LPkUwx/KhEpY;->RWAoD(LPkUwx/tQIEa;)Ljava/lang/String;

    move-result-object v1

    :try_start_0
    iget-object v2, p0, LPkUwx/KhEpY;->wouPV:LPkUwx/Axwse/MCuFV/OkDqd;

    invoke-virtual {v2, v1}, LPkUwx/Axwse/MCuFV/OkDqd;->GwvGX(Ljava/lang/String;)LPkUwx/Axwse/MCuFV/XysqI;
    :try_end_0
    .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_1

    move-result-object v1

    if-nez v1, :cond_0

    :goto_0
    return-object v0

    :cond_0
    :try_start_1
    new-instance v2, LPkUwx/cRumM;

    const/4 v3, 0x0

    invoke-virtual {v1, v3}, LPkUwx/Axwse/MCuFV/XysqI;->xLUWm(I)LwFZra/vpTWk;

    move-result-object v3

    invoke-direct {v2, v3}, LPkUwx/cRumM;-><init>(LwFZra/vpTWk;)V
    :try_end_1
    .catch Ljava/io/IOException; {:try_start_1 .. :try_end_1} :catch_0

    invoke-virtual {v2, v1}, LPkUwx/cRumM;->jcWnJ(LPkUwx/Axwse/MCuFV/XysqI;)LPkUwx/kHRtU;

    move-result-object v1

    invoke-virtual {v2, p1, v1}, LPkUwx/cRumM;->qjtLg(LPkUwx/tQIEa;LPkUwx/kHRtU;)Z

    move-result v2

    if-nez v2, :cond_1

    invoke-virtual {v1}, LPkUwx/kHRtU;->uOBdj()LPkUwx/wkoHv;

    move-result-object v1

    invoke-static {v1}, LPkUwx/Axwse/NmOez;->wdUmr(Ljava/io/Closeable;)V

    goto :goto_0

    :catch_0
    move-exception v2

    invoke-static {v1}, LPkUwx/Axwse/NmOez;->wdUmr(Ljava/io/Closeable;)V

    goto :goto_0

    :cond_1
    move-object v0, v1

    goto :goto_0

    :catch_1
    move-exception v1

    goto :goto_0
.end method

.method public ydKRW()V
    .locals 1

    iget-object v0, p0, LPkUwx/KhEpY;->wouPV:LPkUwx/Axwse/MCuFV/OkDqd;

    invoke-virtual {v0}, LPkUwx/Axwse/MCuFV/OkDqd;->VInaH()V

    return-void
.end method
